﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UIReadForm.aspx.cs" 
Inherits="UILGestion.VentaAdmin.UI.UIReadForm" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register src="../../Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc1" %>
<%@ Register assembly="WebLib" namespace="WebLib" tagprefix="lib" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>UNIDAD INMOBILIARIA</title>
    <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
    
  <script src="../../Scripts/jquery-1.5.2.min.js" type="text/javascript"></script>
   <script type="text/javascript">
       $(document).ready(function () {
           $(document).bind('contextmenu', function (e) {
               return false;
           });
       });
</script>  
</head>
<body>


    <form id="form1" runat="server">
     <input id="internalID" type="hidden" runat="server" />
     <input id="idEtapa" type="hidden" runat="server" />
     <input id="paginaAnt" type="hidden" runat="server" />
     <input id="idProyecto" type="hidden" runat="server" />
  <uc1:menuCtrl ID="menuCtrl1" runat="server" />
    
      <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server" 
      EnableScriptGlobalization="true"  
     EnablePartialRendering="true" />
    
    <asp:Panel ID="pnlMain" runat="server"
  
                CssClass="Heading secTitle AreaHeading ms-crm-List-Header "  >
<asp:Label ID="Label2" runat="server" Text="UNIDAD INMOBILIARIA" 
            style="font-size: large; color: #960818"></asp:Label>
</asp:Panel>
     
  <asp:Panel ID="PanelButtom" runat="server"    class="ms-crm-Form-Body" >
                 <table  width="100%">
                 <tr>
                 <td  width="80%">
                 
   <table >
<tr>

        <td>
    <asp:Button ID="refreshBTN" runat="server" Text="Restablecer"   CssClass="ms-crm-List-Header" onclick="button" 
          /></td> 
           <td>
    <asp:Button ID="EditarBTN" runat="server" Text="Editar"   CssClass="ms-crm-List-Header" onclick="button" 
          /></td> 
        <td>
    <asp:Button ID="nuevoBTN" runat="server" Text="Nuevo"   CssClass="ms-crm-List-Header"  onclick="button"
          /></td> 

          
        <td>
    <asp:Button ID="eliminarBTN" runat="server" Text="Eliminar"   CssClass="ms-crm-List-Header"  onclick="button"
          /></td> 

          <td>
          </td>
          <td>
          <asp:Button ID="bloqueoBTN" runat="server" Text="Bloquear UI"   CssClass="ms-crm-List-Header"  onclick="button" />

          </td>
 
</tr>
</table>
                 </td>
                 <td>
               
                     <asp:Button ID="anteriorBTN" runat="server" CssClass="ms-crm-List-Header" 
                         onclick="button" Text="Anterior" />
                         </td>
                         <td>
                     <asp:Button ID="siguienteBTN" runat="server" CssClass="ms-crm-List-Header" 
                         onclick="button" Text="Siguiente" />
               
                 </td>
                 </tr>
                 </table>
 </asp:Panel>
 
<asp:Panel ID="PanelBody" runat="server"  BackColor="white" >
                
                <table>
                   
                    <tr>
                        <td rowspan="11" valign="top"  Width="480px">
               
                                     <table>
                        <tr>
                        <td align="right" width="100px">Unidad Inmobiliaria:</td>
                        <td>
                             <b style="font-size:medium; color: #960818"><asp:Label ID="idtipoUIDDL" runat="server" Width="210px" 
                                AutoPostBack="true" onselectedindexchanged="DDL" >
                            </asp:Label></b>
                            </td>
                        
                        </tr>
                                       
                                      
                                         <tr>
                                             <td align="right" width="100px">
                                                 Codigo Inmueble:</td>
                                             <td>
                                                <b style="font-size:medium">  <asp:Label ID="codigoTXT" runat="server" ></asp:Label></b>
                                             </td>
                                         </tr>
                                       
                                         <tr>
                                             <td align="right" width="100px">
                                                 Caracteristica:</td>
                                             <td>
                                                 <asp:Label ID="tipoAtributoDDL" runat="server" >
                                                 </asp:Label>
                                             </td>
                                         </tr>

                                         <tr>
                                             <td align="right" width="100px">
                                                 Tipo Modelo:</td>
                                             <td>
                                                 <asp:Label ID="tipoModeloDDL" runat="server" >
                                                 </asp:Label>
                                             </td>
                                         </tr>
                           
                        </table>
               
                        </td>
                    </tr>
                  
               
                    <tr class="PanelTotales">
                        <td  width="130px" align="right">
                            Estado de Venta:</td>
                        <td>
                            <b style="font-size:medium"><asp:Label ID="estadoLBL" runat="server"></asp:Label></b>
                        </td>
                    </tr>
                    <tr class="PanelTotales">
                        <td align="right" width="130px">
                            &nbsp;</td>
                        <td>
                            <asp:HyperLink ID="OrdenVentaHLK" runat="server" ForeColor="Blue"></asp:HyperLink>
                        </td>
                    </tr>
                    <tr class="PanelTotales">
                        <td align="right"  width="130px">
                            Plazo Max Entrega:</td>
                        <td>
                            <asp:Label ID="plazoMaxEntregaTXT" runat="server" ></asp:Label>
                            Meses
                        </td>
                    </tr>
                    <tr class="PanelTotales">
                        <td  width="130px" align="right">
                            Fecha Entraga:</td>
                        <td>
                            <asp:Label ID="fechaFinTXT" runat="server" ></asp:Label>
                           
                        </td>
                    </tr>
                    <tr class="PanelTotales">
                        <td  width="130px" align="right" valign="top">
                             Comentario:</td>
                        <td>
                            <asp:Label ID="comentarioTXT" runat="server" 
                                ></asp:Label>
                        </td>
                    </tr>
                    <tr class="PanelTotales">
                        <td  width="130px" align="right">
                            Activo:</td>
                        <td>
                            <asp:CheckBox ID="bitActivoCHK" runat="server"  Enabled="false"/>
                        </td>
                    </tr>
                </table>






                

   <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
     <asp:TabPanel ID="DireccionTPNL" runat="server" HeaderText="Direccion">
     <ContentTemplate>

    <table >
        <tr>
            <td class="ms-crm-TextAlign-TrailingEdge" width="100px" valign="top">
                Calle/Av/Jr.:</td>
                <td width="350px" valign="top">
                                                 <asp:Label ID="direccionTXT" runat="server" ></asp:Label>
                                             </td>
                <td rowspan="5" valign="top">
                    <asp:UpdatePanel ID="ubigeoUP" runat="server" UpdateMode="Conditional" >
                        <ContentTemplate>
                            <table class="ms-crm-MaxWidth">
                                <tr>
                                    <td align="right" width="100px">
                                        Nro Lote /Dpto:</td>
                                    <td>
                                         <b style="font-size:medium"><asp:Label ID="descripcionTXT" runat="server" ></asp:Label></b>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" width="100px">
                                        Urbanizacion:</td>
                                    <td>
                                        <asp:Label ID="urbanizacionTXT" runat="server" ></asp:Label>
                                       
                                        
                                    </td>
                                </tr>
                                  <tr>
                                             <td align="right" width="100px">
                                                 Localizacion:</td>
                                             <td>
                                                 <asp:Label ID="localizacionDDL" runat="server" 
                                                     >
                                                 </asp:Label>
                                             </td>
                                         </tr>
                                         <tr>
                                             <td align="left" width="100%" colspan="2">

                                                 <asp:UpdatePanel ID="tipoBloqueUPNL" runat="server" UpdateMode="Conditional" >
                                                 <ContentTemplate>
                                                 <table width="100%">
                                                    <tr>
                                             <td align="right" >
                                                 Bloque/Piso:</td>
                                             <td align="left">
                                                 <asp:Label ID="tipoBloqueDDL" runat="server" >
                                                 </asp:Label>
                                             </td>
                                         </tr>
                                                 </table>
                                                 </ContentTemplate>
                                                 </asp:UpdatePanel>
                                                 </td>
                                         </tr>
                                <tr>
                                    <td align="right" width="100px">
                                        Etapa:</td>
                                    <td>
                                        <asp:Label ID="etapaLBL" runat="server"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td class="ms-crm-TextAlign-TrailingEdge" width="100px" valign="top">
                Referencia:</td>
                <td width="350px" valign="top">
                            <asp:Label ID="referenciaTXT" runat="server"  
                                ></asp:Label>
                        </td>
        </tr>
        <tr>
            <td class="ms-crm-TextAlign-TrailingEdge" valign="top" width="100px">
                &nbsp;</td>
            <td valign="top" width="350px">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="ms-crm-TextAlign-TrailingEdge" valign="top" width="100px">
                &nbsp;</td>
            <td valign="top" width="350px">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="ms-crm-TextAlign-TrailingEdge" valign="top" width="100px">
                &nbsp;</td>
            <td valign="top" width="350px">
                &nbsp;</td>
        </tr>
    </table>
 
 
  </ContentTemplate>
    
    
    
    </asp:TabPanel>

   


    <asp:TabPanel ID="construccionTPNL" runat="server" HeaderText="Construccion">
    <ContentTemplate>
    <asp:Panel runat="server" ID="terrenoPNL" GroupingText="Fabrica">
    
    <table class="ms-crm-MaxWidth">
        <tr>
            <td class="ms-crm-TextAlign-TrailingEdge" width="100px">
                Area Terreno:</td>
                <td width="150px">
                <asp:Label ID="areaTerrenoTXT" runat="server"  
                       ></asp:Label>
                                                 m2</td>
                <td width="100px" align="right">
                Frente:</td>
                <td width="150px">
                                                 <asp:Label ID="frenteTXT" runat="server" 
                       ></asp:Label>
                                                 m</td>
                <td rowspan="9" valign="top">
                 
            </td>
        </tr>
        <tr>
            <td class="ms-crm-TextAlign-TrailingEdge" width="100px">
                Area Techada:</td>
                <td width="150px">
                                        <asp:Label ID="areaTechadaTXT" runat="server" ></asp:Label>
                                                 m2</td>
                <td width="100px" align="right">
                Derecho:</td>
                <td width="150px">
                                                 <asp:Label ID="derechoTXT" runat="server" 
                       ></asp:Label>
                                                 m</td>
        </tr>
        <tr>
            <td class="ms-crm-TextAlign-TrailingEdge" width="100px">
                Area Ocupada:</td>
                <td width="150px">
                                        <asp:Label ID="areOcupadaTXT" runat="server" ></asp:Label>
                                                 m2</td>
                <td width="100px" align="right">
                Izquierdo:</td>
                <td width="150px">
                                                 <asp:Label ID="izquierdoTXT" runat="server" 
                       ></asp:Label>
                                                 m</td>
        </tr>
        
        <tr>
            <td class="ms-crm-TextAlign-TrailingEdge" width="100px">
                Numero Partida:</td>
                <td width="150px">
                                                 <asp:Label ID="numPartidaTXT" runat="server" 
                       ></asp:Label>
                                             </td>
                <td width="100px" align="right">
                    Fondo:</td>
                <td width="150px">
                                                 <asp:Label ID="fondoTXT" runat="server" 
                        ></asp:Label>
                                                 m</td>
        </tr>
        
    </table>
    
     </asp:Panel>
 <asp:Panel runat="server" ID="Panel1" GroupingText="Detalle">
    <asp:UpdatePanel ID="ConstruccionUPNL" runat="server" UpdateMode="Conditional" >
                        <ContentTemplate>


                        <asp:Panel runat="server" ID="loteconsPNL">
                        

                            <table class="ms-crm-MaxWidth">
                                <tr>
                                    <td  align="right" width="100px">
                                        Numero Pisos:</td>
                                    <td  width="90px">
                                        <asp:Label ID="numPisoTXT" runat="server" ></asp:Label>
                                    </td>
                                    <td  align="right" width="100px">
                                        &nbsp;</td>
                                    <td  width="90px">
                                        &nbsp;</td>
                                    <td class="ms-crm-TextAlign-TrailingEdge" width="100px" align="right">
                                        &nbsp;</td>
                                    <td  width="90px">
                                        &nbsp;</td>
                                    <td  align="right" width="100px">
                                        &nbsp;</td>
                                    <td  width="90px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right" width="100px">
                                        Dormitorio 1:</td>
                                    <td width="90px">
                                        <asp:Label ID="dormitorio1TXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td align="right" width="100px">
                                        Dormitorio 2:</td>
                                    <td width="90px">
                                        <asp:Label ID="dormitorio2TXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td width="100px" align="right">
                                        Dormitorio 3:</td>
                                    <td width="90px">
                                        <asp:Label ID="dormitorio3TXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td align="right" width="100px">
                                        Dormitorio 4:</td>
                                    <td width="90px">
                                        <asp:Label ID="dormitorio4TXT" runat="server" ></asp:Label>
                                        m2</td>
                                </tr>
                                <tr>
                                    <td align="right" width="100px">
                                        Baño 1:</td>
                                    <td width="90px">
                                        <asp:Label ID="banio1TXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td align="right" width="100px">
                                        Baño 2:</td>
                                    <td width="90px">
                                        <asp:Label ID="banio2TXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td width="100px" align="right">
                                        Baño 3:</td>
                                    <td width="90px">
                                        <asp:Label ID="banio3TXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td align="right" width="100px">
                                        &nbsp;</td>
                                    <td width="90px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right" width="100px">
                                        Sala:</td>
                                    <td width="90px">
                                        <asp:Label ID="salaTXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td align="right" width="100px">
                                        Comedor:</td>
                                    <td width="90px">
                                        <asp:Label ID="comedorTXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td width="100px" align="right">
                                        Cocina:</td>
                                    <td width="90px">
                                        <asp:Label ID="cocinaTXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td align="right" width="100px">
                                        &nbsp;</td>
                                    <td width="90px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right" width="100px">
                                        &nbsp;</td>
                                    <td width="90px">
                                        &nbsp;</td>
                                    <td align="right" width="100px">
                                        Sala/Comedor:</td>
                                    <td width="90px">
                                        <asp:Label ID="salaComedorTXT" runat="server"></asp:Label>
                                        m2</td>
                                    <td width="100px" align="right">
                                        Sala/Comedor/Cocina:</td>
                                    <td width="90px">
                                        <asp:Label ID="salaComedorCicinaTXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td align="right" width="100px">
                                        &nbsp;</td>
                                    <td width="90px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right" width="100px">
                                        Patio:</td>
                                    <td width="90px">
                                        <asp:Label ID="patioTXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td align="right" width="100px">
                                        Lavanderia:</td>
                                    <td width="90px">
                                        <asp:Label ID="labanderiaTXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td width="100px" align="right">
                                        Patio/Lavanderia:</td>
                                    <td width="90px">
                                        <asp:Label ID="patioLabanderiaTXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td align="right" width="100px">
                                        &nbsp;</td>
                                    <td width="90px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="right" width="100px">
                                        Zonas Comunes:</td>
                                    <td width="90px">
                                        <asp:Label ID="zonaComunTXT" runat="server"></asp:Label>
                                    </td>
                                    <td align="right" width="100px">
                                        Aires:</td>
                                    <td width="90px">
                                        <asp:Label ID="aireTXT" runat="server" ></asp:Label>
                                        m2</td>
                                    <td width="100px" align="right">
                                        &nbsp;</td>
                                    <td width="90px">
                                        &nbsp;</td>
                                    <td align="right" width="100px">
                                        &nbsp;</td>
                                    <td width="90px">
                                        &nbsp;</td>
                                </tr>
                            </table>
                            </asp:Panel>

                            <asp:Panel runat="server" ID="depaPNL">
                            
    <table >
        <tr>
            <td align="right" width="100px" >
                Domitorios #:</td>
            <td>
                                        <asp:Label ID="numDormitorioTXT" runat="server" ></asp:Label>
                                        </td>
        </tr>
        <tr>
            <td align="right" width="100px" >
                Baños #:</td>
            <td>
                <asp:Label ID="numBanioTXT" runat="server" 
                   ></asp:Label>
                                        </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </asp:Panel>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    </asp:Panel>

 </ContentTemplate>
    
    </asp:TabPanel>


      <asp:TabPanel ID="precioTPNL" runat="server" HeaderText="Precio">
    <ContentTemplate>
   
  
   <table class="ms-crm-MaxWidth">
         <tr>
            <td width="100px" align="right">
                Moneda:</td>
            <td>
                                    <asp:Label ID="monedaDDL" runat="server" 
                    Width="170px"></asp:Label>
             
                                    </td>
            <td align="right" width="100px">
                                                 &nbsp;</td>
            <td>
                                                 &nbsp;</td>
        </tr>
        <tr>
            <td width="100px" align="right" >
                Precio Nomal:</td>
            
            <td > 
                                   
             

                                    <asp:Label ID="precioTXT" runat="server" ></asp:Label>
                                   
             

                                    </td>
            
            <td colspan="2" > 
                <asp:UpdatePanel ID="programaUPNL" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                    <asp:Panel ID="programaPNL" runat="server">
                        <table class="ms-crm-MaxWidth">
                            <tr>
                                <td align="right" class="style1" width="100px">
                                    &nbsp;</td>
                                <td class="style1">
                                    &nbsp;</td>
                            </tr>
                        </table>
                        </asp:Panel>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
            
        </tr>
           <tr>
               <td align="right" width="100px">
                   Separacion:</td>
               <td>
                   <asp:Label ID="separacionTXT" runat="server" ></asp:Label>
               </td>
               <td>
                   &nbsp;</td>
               <td rowspan="2">
                   &nbsp;</td>
           </tr>
        <tr>
            <td width="100px" align="right" >
                &nbsp;</td>
            
            <td > 
                                    
             
                                    &nbsp;</td>
            
            <td > &nbsp;</td>
            
        </tr>
        </table>
      


         </ContentTemplate>
    </asp:TabPanel>
     </asp:TabContainer>
    
 
  </asp:Panel>
    
  
    </form>
   
   
    </body>
</html>
